
def stu_register(name ,age,course,country="china"):
    print("student info message".center(50,"="))
    print("name:", name)
    print('age:',age)
    print("country:",country)
    print("course:",course)

    if age >22:
        return  False
    else:
        return  True

stu_status = stu_register("alex",22,"python")
if stu_status:
    print("注册成功")
else:
    print("u are  old ")

stu_status =  stu_register("aliang",25,"python",country="韩国")
if stu_status:
    print("注册成功")
else:
    print("u are old ")

# def baojing(message, *user):
#     for u in user:
#         print("警报警报",u)
#
# baojing("test_core", "aelx","aliang","yunwei")
#
# def testa(name,*args,**kwargs):
#     print(name,args,kwargs)
#
# testa('alex','china','python',sex='male',provice= "taiwan")
